Exemplo n.º 1
0
 private void gridViewLibraryDis_RowCellClick(object sender, DevExpress.XtraGrid.Views.Grid.RowCellClickEventArgs e)
 {
     if (e.Column.FieldName != "gridColCheck" && e.Button == MouseButtons.Right)
     {
         FrmAddDiscreteFuzzySet frm = new FrmAddDiscreteFuzzySet(gridViewLibraryDis.GetRowCellValue(e.RowHandle, "gridColName").ToString());
         frm.ShowDialog();
         RefreshData();
     }
 }
Exemplo n.º 2
0
 private void gridCtrLibraryDis_EmbeddedNavigator_ButtonClick(object sender, NavigatorButtonClickEventArgs e)
 {
     if (e.Button.ButtonType == NavigatorButtonType.Append)
     {
         FrmAddDiscreteFuzzySet frm = new FrmAddDiscreteFuzzySet();
         frm.ShowDialog();
         RefreshData();
         e.Handled = true;
     }
 }
Exemplo n.º 3
0
 private void gridCtlFuzzyValue_EmbeddedNavigator_ButtonClick(object sender, NavigatorButtonClickEventArgs e)
 {
     if (e.Button.ButtonType == NavigatorButtonType.Append)
     {
         if (datatypename == "DiscreteFuzzySet")
         {
             FrmAddDiscreteFuzzySet frm = new FrmAddDiscreteFuzzySet();
             frm.ShowDialog();
             ResetGridView(datatypename);
         }
         else
         {
             FrmAddContinuousFuzzySet frm = new FrmAddContinuousFuzzySet();
             frm.ShowDialog();
             ResetGridView(datatypename);
         }
         e.Handled = true;
     }
 }