Exemplo n.º 1
0
 private void MenuOptions_Click(object sender, RoutedEventArgs e)
 {
     propertForm = new PropertiesForm(null);
     //    propertForm.Closing += new System.ComponentModel.CancelEventHandler((s, r) => MainProjectList.Items.Refresh());
     propertForm.CalledControl = BrowseProject;
     propertForm.Init();
     ((Options)propertForm.Element.Child).DirectoryPath.Text = BrowseProject.ProjectsPath;
     propertForm.ShowDialog();
 }
Exemplo n.º 2
0
 private void onOpenProperty(string projName, bool isCreateFile)
 {
     propertForm               = new PropertiesForm(Notes[projName]);
     propertForm.Closing      -= PropertForm_Closing;
     propertForm.Closing      += PropertForm_Closing;
     propertForm.CalledControl = this;
     propertForm.Init();
     ((ProjectProperties)propertForm.Element.Child).isCreateFile = isCreateFile;
     propertForm.ShowDialog();
 }