コード例 #1
0
ファイル: JQSecurity.cs プロジェクト: san90279/UK_OAS
 public void OnExport(object sender, EventArgs e)
 {
     JQSecurity ws = (JQSecurity)this.Component;
     if (ws.DBAlias == null || ws.DBAlias == "" || ws.DBAlias == "(none)")
     {
         System.Windows.Forms.MessageBox.Show("Please set DBAlias and MenuID first.");
     }
     else if (Export == null)
     {
         Export = new JQSecurityForm(this.Component as JQSecurity, this.GetService(typeof(IDesignerHost)) as IDesignerHost);
         Export.ShowDialog();
     }
     Export = null;
 }
コード例 #2
0
ファイル: JQSecurity.cs プロジェクト: san90279/UK_OAS
 public void OnExport()
 {
     if (ws.DBAlias == null || ws.DBAlias == "" || ws.DBAlias == "(none)")
     {
         System.Windows.Forms.MessageBox.Show("Please set DBAlias and MenuID first.");
     }
     else if (Export == null)
     {
         Export = new JQSecurityForm(ws, this.GetService(typeof(IDesignerHost)) as IDesignerHost);
         Export.ShowDialog();
     }
     Export = null;
 }