Beispiel #1
0
 void frm_LoadInMainWindow(int option, string tranid,bool usecon,string con)
 {
     //var f = new ItemMove();
     //f.Show();
     if (option == 0)
     {
         ItemMove frm = null;
         if ((frm = (ItemMove)IsFormAlreadyOpen(typeof(ItemMove))) == null)
         {
             frm = new ItemMove();
             frm.OtherStore = usecon;
             frm.MdiParent = this;
            
             frm.Show();
             if (!string.IsNullOrEmpty(tranid))
             {
               frm._tranid = tranid;
               frm.DoView(true,usecon,con); 
             }
         }
         else
         {
             frm.Select();
         }
     }
     opentab = 2;
 }