Пример #1
0
 /* Скопировать название категории по двойному ЛКМ на ячейку */
 private void dgv_KeywordCategory_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         FullSemCoreView scv = new FullSemCoreView(this, dgv_KeywordCategory.Rows[e.RowIndex].Cells[1].Value.ToString(), dgv_KeywordCategory.Rows[e.RowIndex].Cells[4].Value.ToString());
         scv.Show();
         this.Visible = false;
     }
 }
Пример #2
0
        /* Редактировать */
        private void btn_Edit_Click(object sender, EventArgs e)
        {
            FullSemCoreView fsc = new FullSemCoreView(this, arr);

            if (fsc.ShowDialog() == DialogResult.OK)
            {
                this.DialogResult = DialogResult.OK;
                this.Close();
            }
        }
Пример #3
0
        private void btn_ShowAllKeywords_Click(object sender, EventArgs e)
        {
            FullSemCoreView fsc = new FullSemCoreView(this);

            if (!fsc.NoProdType && !fsc.NoKeyCat)
            {
                fsc.Show();
                this.Visible = false;
            }
        }
Пример #4
0
        /* Вызываем из FullSemCoreView */
        public FullSemCoreView(FullSemCoreView _mf)
        {
            InitializeComponent();
            ControlFullSemCoreView = _mf;
            scaController          = new SemCoreArchiveController(this);

            NoProdType = false;
            NoKeyCat   = false;

            GetStarted();
            firstLaunch = false;
        }
Пример #5
0
 /* Конструктор */
 public ProductTypesController(FullSemCoreView _controlForm)
 {
     connection = DBData.GetDBConnection();
     controlFormFullSemCoreView = _controlForm;
 }
Пример #6
0
 /* Конструктор */
 public KeywordCategoryController(FullSemCoreView _controlForm)
 {
     connection = DBData.GetDBConnection();
     controlFormFullSemCoreView = _controlForm;
 }
Пример #7
0
 public SemCoreArchiveController(FullSemCoreView _form)
 {
     connection             = DBData.GetDBConnection();
     controlFullSemCoreView = _form;
 }