コード例 #1
0
        protected virtual void OnBtnManageClicked(object sender, System.EventArgs e)
        {
            LibsManagerDialog lmd = new LibsManagerDialog(entUses.Text, parentWindow);
            int result            = lmd.Run();

            if (result == (int)ResponseType.Ok)
            {
                string libs = lmd.LibsString;
                if (!String.IsNullOrEmpty(libs))
                {
                    entUses.Text = libs;
                }

                MainClass.MainWindow.FrameworkTree.LoadLibs(MainClass.Workspace.RootDirectory);
            }
            lmd.Destroy();
        }
コード例 #2
0
ファイル: ApplicationFileControl.cs プロジェクト: moscrif/ide
        protected virtual void OnBtnManageClicked(object sender, System.EventArgs e)
        {
            LibsManagerDialog lmd = new LibsManagerDialog(entUses.Text,parentWindow);
            int result = lmd.Run();

            if (result == (int)ResponseType.Ok) {
                string libs =lmd.LibsString;
                if(!String.IsNullOrEmpty(libs))
                    entUses.Text = libs;

                MainClass.MainWindow.FrameworkTree.LoadLibs(MainClass.Workspace.RootDirectory);

            }
            lmd.Destroy();
        }