private void mbtnSearchItem_Click(object sender, EventArgs e)
        {
            frm_DynamicList frm = new frm_DynamicList();

            frm.KindOfList   = "ITEM";
            frm.MyCaller_scr = this;
            frm.Text         = "List of Items";
            FormHelpers.ShowDialog(frm);
        }
示例#2
0
        private void mbtnViewList_Click(object sender, EventArgs e)
        {
            var frm = new frm_DynamicList();

            frm.KindOfList      = "ITEM";
            frm.Text            = "List of Items in Year " + selyear.ToString();
            frm.IsPrevious      = true;
            frm.PreviousYear    = selyear;
            frm.MyCaller_Copier = this;
            FormHelpers.ShowDialog(frm);
        }
示例#3
0
 private void mbtnViewList_Click(object sender, EventArgs e)
 {
     try
     {
         FormHelpers.CursorWait(true);
         var frm = new frm_DynamicList();
         frm.KindOfList         = "CAT";
         frm.Text               = "List of Categories in Year " + selyear.ToString();
         frm.IsPrevious         = true;
         frm.PreviousYear       = selyear;
         frm.MyCaller_CopierCat = this;
         FormHelpers.ShowDialog(frm);
     }
     catch (Exception ex)
     {
         MessageHelpers.ShowError(ex.Message);
     }
     finally
     {
         FormHelpers.CursorWait(false);
     }
 }