コード例 #1
0
 /// <summary>
 /// Implemented only for demonstration purposes. This function is called when the config button
 /// is pressed (HasEmbeddedForm() must return false for this).
 /// </summary>
 /// <param name="owner"></param>
 public void ShowConfigDialog(Form owner)
 {
     this.dlg          = new EminusConfigDlg(this.tmpConfig);
     this.dlg.TopLevel = true;
     this.dlg.Owner    = owner;
     this.dlg.ShowDialog();
     this.dlg.ApplyChanges();
 }
コード例 #2
0
 public void HideConfigForm()
 {
     if (this.dlg != null)
     {
         this.dlg.ApplyChanges();
         this.dlg.Hide();
         this.dlg.Dispose();
         this.dlg = null;
     }
 }
コード例 #3
0
 public void ShowConfigForm(Panel panel)
 {
     this.dlg        = new EminusConfigDlg(this.tmpConfig);
     this.dlg.Parent = panel;
     this.dlg.Show();
 }
コード例 #4
0
ファイル: Eminus.cs プロジェクト: gspatace/logexpert
 public void HideConfigForm()
 {
   if (this.dlg != null)
   {
     this.dlg.ApplyChanges();
     this.dlg.Hide();
     this.dlg.Dispose();
     this.dlg = null;
   }
 }
コード例 #5
0
ファイル: Eminus.cs プロジェクト: gspatace/logexpert
 /// <summary>
 /// Implemented only for demonstration purposes. This function is called when the config button
 /// is pressed (HasEmbeddedForm() must return false for this).
 /// </summary>
 /// <param name="owner"></param>
 public void ShowConfigDialog(Form owner)
 {
   this.dlg = new EminusConfigDlg(this.tmpConfig);
   this.dlg.TopLevel = true;
   this.dlg.Owner = owner;
   this.dlg.ShowDialog();
   this.dlg.ApplyChanges();
 }
コード例 #6
0
ファイル: Eminus.cs プロジェクト: gspatace/logexpert
 public void ShowConfigForm(Panel panel)
 {
   this.dlg = new EminusConfigDlg(this.tmpConfig);
   this.dlg.Parent = panel;
   this.dlg.Show();
 }