Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }