public AssInput(MainForm f)
 {
     InitializeComponent();
     //myConn = f.myConn;
     mf = f;
     qryassdlg = new QryAssDlg(mf);
 }
 public QryAssList(MainForm f)
 {
     InitializeComponent();
     f.recvEvent += new MainForm.RecvEventHandler(this.RecvDataEvent);
     mf = f;
     qryassdlg = new QryAssDlg(mf);
     sSQLSelect = AssInput.sSQLSelect;
 }
 public InvList(MainForm f)
 {
     InitializeComponent();
     mf = f;
     qryassdlg = new QryAssDlg(mf);
 }
 public static List<string> FindPid(MainForm mf)
 {
     QryAssDlg qryassdlg = new QryAssDlg(mf);
     if (qryassdlg.ShowDialog() == DialogResult.OK)
     {
         SelectAssList dlg = new SelectAssList();
         dlg.sSQLSelect = sSQLSelect + qryassdlg.sSqlCondition;
         dlg.ShowDialog();
         return dlg.aPidList;
     }
     else
     {
         return null;
     }
 }