public void Dispose() { //if (searchPanel != null) //{ // searchPanel.Disposing(); //} BrowseProject.Disposing(); TextBox.MainControl.Dispose(); }
private void ProjectAndNotes() { if (ShowNotes.Visibility == Visibility.Visible) { NotesBrowser.Show(); } if (ShowProject.Visibility == Visibility.Visible) { BrowseProject.Show(); } }
private void OnlyProject() { if (ShowNotes.Visibility == Visibility.Hidden) { NotesBrowser.Hide(); } if (ShowProject.Visibility == Visibility.Visible) { BrowseProject.Show(); } }
private void MenuAddPr_Click(object sender, RoutedEventArgs e) { BrowseProject.CreateProject(); }
private void ShowProject_MouseUp(object sender, MouseButtonEventArgs e) { BrowseProject.Show(); }
private void HidenProject_MouseUp(object sender, MouseButtonEventArgs e) { BrowseProject.Hide(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainContainer = ((System.Windows.Controls.Grid)(target)); return; case 2: this.BrowseProject = ((UILayer.BrowseProject)(target)); return; case 3: this.RedactorConteiner = ((System.Windows.Controls.Border)(target)); return; case 4: this.MenuAddPr = ((System.Windows.Controls.MenuItem)(target)); #line 48 "..\..\SuperTextRedactor.xaml" this.MenuAddPr.Click += new System.Windows.RoutedEventHandler(this.MenuAddPr_Click); #line default #line hidden return; case 5: this.MenuSearch = ((System.Windows.Controls.MenuItem)(target)); #line 49 "..\..\SuperTextRedactor.xaml" this.MenuSearch.Click += new System.Windows.RoutedEventHandler(this.MenuSearch_Click); #line default #line hidden return; case 6: this.MenuOptions = ((System.Windows.Controls.MenuItem)(target)); #line 51 "..\..\SuperTextRedactor.xaml" this.MenuOptions.Click += new System.Windows.RoutedEventHandler(this.MenuOptions_Click); #line default #line hidden return; case 7: this.MenuFullScr = ((System.Windows.Controls.MenuItem)(target)); return; case 8: #line 63 "..\..\SuperTextRedactor.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AboutInformationOnClick); #line default #line hidden return; case 9: this.TextBox = ((UILayer.SuperRichTextBox)(target)); return; case 10: this.Format = ((UILayer.FormatPanel)(target)); return; case 11: this.ShowProject = ((System.Windows.Controls.Label)(target)); #line 69 "..\..\SuperTextRedactor.xaml" this.ShowProject.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.ShowProject_MouseUp); #line default #line hidden return; case 12: this.ShowNotes = ((System.Windows.Controls.Label)(target)); #line 72 "..\..\SuperTextRedactor.xaml" this.ShowNotes.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.ShowNotes_MouseUp); #line default #line hidden return; case 13: this.Container = ((System.Windows.Controls.Border)(target)); return; case 14: this.NotesBrowser = ((UILayer.NotesBrowser)(target)); return; } this._contentLoaded = true; }