예제 #1
0
        private void btn_category_Click(object sender, EventArgs e)
        {
            CategoryForm categoryForm = new CategoryForm();

            categoryForm.Show();
            this.Hide();
        }
예제 #2
0
        private void kategoriİşlemleriToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            CategoryForm frm = new CategoryForm();

            frm.MdiParent = this;
            frm.Show();
        }
예제 #3
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            this.Close();
            CategoryForm form = new CategoryForm();

            form.Show();
        }
예제 #4
0
 private void buttonGoCategories_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms["CategoryOperations"] == null)
     {
         Form CategoryOperations = new CategoryForm();
         CategoryOperations.Show();
     }
 }
예제 #5
0
        private void btnAdd_Click(object sender, EventArgs e)

        {
            this.Visible = false;
            CategoryForm form = new CategoryForm();

            form.Show();
        }
예제 #6
0
        private void categoryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CategoryForm childForm = new CategoryForm(FinviewContainer.Instance.Resolve <ICategoryService>());

            childForm.MdiParent   = this;
            childForm.WindowState = FormWindowState.Maximized;
            childForm.Show();
        }
예제 #7
0
        private void BtnCateg_Click(object sender, EventArgs e)
        {
            panel3.Controls.Clear();
            CategoryForm categoryForm = new CategoryForm();

            categoryForm.TopLevel = false;
            panel3.Controls.Add(categoryForm);
            categoryForm.Show();
        }
        private void categoryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CategoryForm category = new CategoryForm
            {
                userID = userId
            };

            category.Show();
        }
예제 #9
0
 private void btnCategory_Click(object sender, EventArgs e)
 {
     HideOtherForm("FrmCategory");
     if (IsAlreadyOpened("FrmCategory"))
     {
         return;
     }
     CategoryForm.MdiParent = this;
     CategoryForm.Show();
     CategoryForm.Location = new Point(200, 20);
 }
예제 #10
0
 private void loginBtn_Click(object sender, EventArgs e)
 {
     if (usernamTxt.Text != "" && passwordTxt.Text != "")
     {
         user = loginController.invictusUserRepository.findById(user.Username);
         if (user.Password != null && user.Password == passwordTxt.Text)
         {
             CategoryForm categoryForm = new CategoryForm();
             categoryForm.setCurrentUser(user);
             categoryForm.Show();
             Hide();
         }
     }
 }
예제 #11
0
        private void AddCategoryButton_Click(object sender, EventArgs e)
        {
            Form form = new CategoryForm(this);

            form.Show();
        }
        private void btnManageCategories_Click(object sender, EventArgs e)
        {
            CategoryForm cf = new CategoryForm();

            cf.Show();
        }