Exemple #1
0
 private void ctrBrand1_ExcuteCommand(WssCommon.ListBrandCommand command, EventArgs e)
 {
     switch (command)
     {
         case WssCommon.ListBrandCommand.ViewInfo:
             //ViewInfo(ctrBank1.GetIdCurrent(), ctrBank1.GetBankCurrent());
             break;
         case WssCommon.ListBrandCommand.ViewItemManager:
             ViewItemOfBrand(ctrBrand1.GetIdCurrent(), ctrBrand1.GetBrandCurrent());
             break;
     }
 }
Exemple #2
0
 private void viewInfoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     _command = WssCommon.ListBrandCommand.ViewInfo;
     ExcuteCommand(_command, e);
 }
Exemple #3
0
 private void ViewItemInBrandToolStripMenuItem_Click(object sender, EventArgs e)
 {
     _command = WssCommon.ListBrandCommand.ViewItemManager;
     ExcuteCommand(_command, e);
 }