예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            BeginEditorCommand();

            CppFunFactory.GetSingle().MoveViewInModalDlg();


            CompleteEditorCommand();
        }
예제 #2
0
        new public DialogResult ShowDialog()
        {
            DialogResult res = DialogResult.OK;

            base.Show();

            res = (DialogResult)CppFunFactory.GetSingle().DoModal(this.Handle);

            return(res);
        }
예제 #3
0
 protected virtual void CompleteEditorCommand(bool restoreDialogs = true)
 {
     CppFunFactory.GetSingle().CompleteEditorCommand(WinFunctions.GetParent(this.Handle), restoreDialogs);
 }
예제 #4
0
 protected virtual void CancelEditorCommand()
 {
     CppFunFactory.GetSingle().CancelEditorCommand(WinFunctions.GetParent(this.Handle));
 }