private void btn_DoRewriteSemCore_Click(object sender, EventArgs e) { SemCoreRebuildView scr = new SemCoreRebuildView(this); if (!scr.NoKeyCat && !scr.NoProdType) { scr.Show(); this.Visible = false; } }
public KeywordsAreExistedView(string[,] _arr, string _category) { InitializeComponent(); arr = _arr; choosenCategory = _category; lb_Information.Text = informationString; FillDGV(); lb_KeysCount.Text = "Всего ключей: " + dgv_Keywords.RowCount; MessageBox.Show(str + "(категория: " + choosenCategory + ").", "Внимание"); semCoreRebuild = new SemCoreRebuildView(); }
public KeywordCategoryView(SemCoreRebuildView _mf) { InitializeComponent(); CurrentColumnCount = 0; kcController = new KeywordCategoryController(this); connection = DBData.GetDBConnection(); controlSemCoreRebuildView = _mf; kcController.GetKeywordCategoriesAll(); Draw(); }
/* Конструктор */ public KeywordCategoryView(SemCoreRebuildView _mf) { InitializeComponent(); kcController = new KeywordCategoryController(this); ptController = new ProductTypesController(this); HardClose = false; connection = DBData.GetDBConnection(); controlSemCoreRebuildView = _mf; kcController.GetKeywordCategoriesJOINProductTypes(); Draw(); ptController.GetProductTypesAll(); fill_cb_ProductTypes(); }
/* Конструктор */ public SemCoreController(SemCoreRebuildView _form) { connection = DBData.GetDBConnection(); controlFormSemCoreRebuildView = _form; }
/* Конструктор */ public ProductTypesController(SemCoreRebuildView _controlForm) { connection = DBData.GetDBConnection(); controlFormSemCoreRebuildView = _controlForm; }
/* Конструктор */ public KeywordCategoryController(SemCoreRebuildView _controlForm) { connection = DBData.GetDBConnection(); controlFormSemCoreRebuildView = _controlForm; }