예제 #1
0
 private void cmbHayvanCinsi_Properties_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (e.Button.Kind == DevExpress.XtraEditors.Controls.ButtonPredefines.Clear)
     {
         cmbHayvanCinsi.EditValue = null;
     }
     else if (e.Button.Kind == DevExpress.XtraEditors.Controls.ButtonPredefines.Plus)
     {
         frmHayvanCins frm = new frmHayvanCins(this);
         frm.ShowDialog();
     }
 }
        private void barButtonItem5_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmHayvanCins frm = new frmHayvanCins();

            frm.ShowDialog();
        }