예제 #1
0
        private void AccDel_Click(object sender, EventArgs e)
        {
            if (PIL.Items.Count == 0 || PIL.SelectedItems.Count == 0)
            {
                return;
            }
            LoginDeleteForm DF = new LoginDeleteForm();

            DF.Owner = this;
            DF.Left  = Left + Width;
            DF.Top   = Top;
            DF.OpenMe(PIL.SelectedItems[0].Text);
        }
예제 #2
0
        private void RemAcc_Click(object sender, EventArgs e)
        {
            if (LGS.Items.Count == 0 || LGS.SelectedItem.ToString().Length == 0)
            {
                return;
            }
            LoginDeleteForm DF = new LoginDeleteForm();

            DF.Owner = this;
            DF.Left  = Left + Width;
            DF.Top   = Top;
            DF.OpenMe(LGS.SelectedItem.ToString());
        }