Beispiel #1
0
        private void btnAddOffset_Click(object sender, EventArgs e)
        {
            SubSalesOffset offset = new SubSalesOffset(main, this, "insert");

            offset.Show();
            offset.BringToFront();
        }
Beispiel #2
0
 internal void updateList(PrintingCreateSalesList selected)
 {
     if (selected.jobType == "OF" || selected.jobType == "DG" || selected.jobType == "PL" || selected.jobType == "LL")
     {
         SubSalesOffset offset = new SubSalesOffset(main, this, "update");
         offset.Show();
         offset.setData(selected);
         offset.BringToFront();
     }
     else if (selected.jobType == "ST")
     {
         SubSalesSetting setting = new SubSalesSetting(main, this, "update");
         setting.Show();
         setting.setData(selected);
         setting.BringToFront();
     }
 }