Beispiel #1
0
 public static void tsRevenireLaAfisajulStandard_Click(object sender, EventArgs e)
 {
     try
     {
         IMembriComuniControalePersonalizate ctrlAtasat = lControlTinta;// (IMembriComuniControalePersonalizate)((ToolStripMenuItem)sender).Tag;
         if (ctrlAtasat.AcceptaActiunea(EnumTipActiuneControl.RevenireLaAfisajulStandard))
         {
             ctrlAtasat.AnuntaIncepereActiune(EnumTipActiuneControl.RevenireLaAfisajulStandard);
             ctrlAtasat.ExecutaActiunea(EnumTipActiuneControl.RevenireLaAfisajulStandard);
             ctrlAtasat.AnuntaFinalizareActiune(EnumTipActiuneControl.RevenireLaAfisajulStandard);
         }
     }
     catch (Exception)
     {
     }
 }
Beispiel #2
0
 public static void tsVizibilitateColoane_Click(object sender, EventArgs e)
 {
     try
     {
         IMembriComuniControalePersonalizate ctrlAtasat = lControlTinta;// (IMembriComuniControalePersonalizate)((ToolStripMenuItem)sender).Tag;
         if (ctrlAtasat.AcceptaActiunea(EnumTipActiuneControl.AscundeColoane))
         {
             ctrlAtasat.AnuntaIncepereActiune(EnumTipActiuneControl.AscundeColoane);
             ctrlAtasat.ExecutaActiunea(EnumTipActiuneControl.AscundeColoane);
             ctrlAtasat.AnuntaFinalizareActiune(EnumTipActiuneControl.AscundeColoane);
         }
     }
     catch (Exception)
     {
     }
 }
Beispiel #3
0
 public static void ActiuneMeniu_Click(object sender, EventArgs e)
 {
     try
     {
         ToolStripItem optiune = sender as ToolStripItem;
         if (optiune != null && optiune.Tag != null)
         {
             lControlTinta.ExecutaActiunea((EnumTipActiuneControl)optiune.Tag);
         }
         optiune = null;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }