private void lueKindOfLabel_ButtonClick(object sender, ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var frm = new LabelList {
             labelID = lueKindOfLabel.EditValue.ToString()
         };
         frm.ShowDialog(this);
         lueKindOfLabel.EditValue = frm.labelID;
     }
 }
Exemplo n.º 2
0
 private void lueLabel_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var frm = new LabelList {
             labelID = lueLabel.EditValue.ToString()
         };
         frm.ShowDialog(this);
         lueLabel.EditValue = frm.labelID;
     }
     else if (e.Button.Index == 2)
     {
         lueLabel.EditValue = "";
     }
 }