예제 #1
0
        /// <summary>
        ///
        /// </summary>
        private static bool ExecuteForNewItem(string newFileName, string viewsFolderName)
        {
            viewDialog = new AddViewDlg();
            viewDialog.FillDialogControls(viewsFolderName);

            viewDialog.ViewName          = newFileName;
            viewDialog.ViewNameEnabled   = false;
            viewDialog.WriteItemDirectly = false;

            return(viewDialog.ShowDialog() == DialogResult.OK);
        }
예제 #2
0
        /// <summary>
        /// 
        /// </summary>
        private static bool ExecuteForNewItem(string newFileName, string viewsFolderName)
        {
            viewDialog = new AddViewDlg();
            viewDialog.FillDialogControls(viewsFolderName);

            viewDialog.ViewName = newFileName;
            viewDialog.ViewNameEnabled = false;
            viewDialog.WriteItemDirectly = false;

            return (viewDialog.ShowDialog() == DialogResult.OK);
        }
예제 #3
0
 private static void Execute(object sender, EventArgs e)
 {
     viewDialog = new AddViewDlg();
     viewDialog.FillDialogControls();
     viewDialog.ShowDialog();
 }
예제 #4
0
 private static void Execute(object sender, EventArgs e)
 {
     viewDialog = new AddViewDlg();
     viewDialog.FillDialogControls();
     viewDialog.ShowDialog();
 }