コード例 #1
0
 private void OnViewShown(object sender, ViewShownEventArgs e)
 {
     if (e.FirstTimeShown)
     {
         e.View.Changed += this.OnViewChanged;
     }
 }
コード例 #2
0
 private void MainForm_ViewShown(object sender, ViewShownEventArgs e) {
   if ((e.View is OperatorsSidebar) && (menuItem != null)) {
     menuItem.Checked = true;
     Properties.Settings.Default.ShowOperatorsSidebar = true;
     Properties.Settings.Default.Save();
   }
 }
コード例 #3
0
 private void MainForm_ViewShown(object sender, ViewShownEventArgs e) {
   if ((e.View is Clipboard<IItem>) && (menuItem != null)) {
     menuItem.Checked = true;
     Properties.Settings.Default.ShowClipboard = true;
     Properties.Settings.Default.Save();
   }
 }
コード例 #4
0
 private void MainForm_ViewShown(object sender, ViewShownEventArgs e) {
   if ((e.View is StartPage) && (menuItem != null))
     menuItem.Checked = true;
 }
コード例 #5
0
 private void OnViewShown(object sender, ViewShownEventArgs e) {
   if (e.FirstTimeShown)
     e.View.Changed += this.OnViewChanged;
 }