![]() |
skinFramework when used RibbonBars |
Post Reply ![]() |
Author | |
varun ![]() Newbie ![]() ![]() Joined: 16 February 2011 Location: Hyderabad Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 15 April 2011 at 7:07am |
Can any one please help me how to use openFileDialog with the skinFramework
when we are using CommandBars i.e, in RibbonMdiForm sample for "ID_FILE_OPEN" click event i
want to open openFileDialog to browse a file, but it should also be applied with
skinFramework.
I am using CommandBars Control Version 15.0.1 Visual Studio 2010 & C# as code behind language |
|
V
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
SkinFramework should automatically handle this dialog.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
varun ![]() Newbie ![]() ![]() Joined: 16 February 2011 Location: Hyderabad Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
Can you provide any sample example through which i can get success.
I am weird about this problem, I cant access openfiledialog or any other dialog boxes. For ex: I was created MDI Form from MDI form i have called child forms i.e, frmOptions as below is code snippet through which I can open with ribbon bar effects frmOptions = new LSPOptionsBox(); CommandBars.EnableOffice2007FrameHandle(frmOptions.Handle.ToInt32()); frmOptions.ShowDialog(); Can you please help to open up OpenFileDialog In child forms I have provided some datagridview & contextmenustrip, by clicking contextmenustrip button i have to show openFileDialog & saveFileDialog but i cant make it active as commandbar skin effects. Please help me I tried as below code correct me here to open with effects: OpenFileDialog openFileDialog1 = new OpenFileDialog(); openFileDialog1.InitialDirectory = strDirectory; frmMdi.Instance.CommandBars.EnableOffice2007FrameHandle(this.Handle.ToInt32()); DialogResult Result = openFileDialog1.ShowDialog(frmMdi.skinFramework); |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |