Beispiel #1
0
        private void btn_DoRewriteSemCore_Click(object sender, EventArgs e)
        {
            SemCoreRebuildView scr = new SemCoreRebuildView(this);

            if (!scr.NoKeyCat && !scr.NoProdType)
            {
                scr.Show();
                this.Visible = false;
            }
        }
Beispiel #2
0
        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();
        }
Beispiel #3
0
        public KeywordCategoryView(SemCoreRebuildView _mf)
        {
            InitializeComponent();
            CurrentColumnCount = 0;

            kcController = new KeywordCategoryController(this);

            connection = DBData.GetDBConnection();
            controlSemCoreRebuildView = _mf;

            kcController.GetKeywordCategoriesAll();
            Draw();
        }
Beispiel #4
0
        /* Конструктор */
        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();
        }
Beispiel #5
0
 /* Конструктор */
 public SemCoreController(SemCoreRebuildView _form)
 {
     connection = DBData.GetDBConnection();
     controlFormSemCoreRebuildView = _form;
 }
Beispiel #6
0
 /* Конструктор */
 public ProductTypesController(SemCoreRebuildView _controlForm)
 {
     connection = DBData.GetDBConnection();
     controlFormSemCoreRebuildView = _controlForm;
 }
 /* Конструктор */
 public KeywordCategoryController(SemCoreRebuildView _controlForm)
 {
     connection = DBData.GetDBConnection();
     controlFormSemCoreRebuildView = _controlForm;
 }