Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Move Implementation to Source File
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Alex Farber
New Member

2 Posts

Posted - Oct 17 2006 :  11:11:16 AM  Show Profile  Reply with Quote
Does this function work for C++/CLI? I created C++/CLI Windows Forms application and added Load event handler:
private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) {
}

After setting cursor on the function name "Move Implementation to Source File" is disabled. In unmanaged C++ project it works. I am working with build 1539.

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Oct 17 2006 :  3:17:48 PM  Show Profile  Reply with Quote
using VS2005 and VA 1539 I have created a new CLR Windows Form Application, I am assuming this is the same project type as you.

double clicking on the form in the designer took me to this new function, the one you have posted here. however there is no matching cpp file in the solution.

after adding a matching cpp file, "Form1.cpp" file in my case, VA offers me Move Implementation to Source File, which works quite happily and the resulting code compiles, so I am assuming VA's actions were valid.

can you try creating a matching cpp file and making sure it is part of the solution?

zen is the art of being at one with the two'ness
Go to Top of Page

Alex Farber
New Member

2 Posts

Posted - Oct 19 2006 :  10:16:14 AM  Show Profile  Reply with Quote
Thank you, it works after creating Form1.cpp file. I was sure that such file already exists.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Oct 19 2006 :  11:30:39 AM  Show Profile  Reply with Quote
No cpp file surprised me as well

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000