private void button1_Click(object sender, EventArgs e)
        {
            Settings_Chooser c = new Settings_Chooser();
            c.Text = "Add Drive";

            if (c.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                fill_list();
        }
        private void button3_Click(object sender, EventArgs e)
        {
            if (lstv.SelectedItems.Count == 0)
                return;

            Settings_Chooser c = new Settings_Chooser(lstv.SelectedItems[0].Index);
            c.Text = "Update Drive";

            if (c.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                fill_list();
        }
Esempio n. 3
0
        private void button1_Click(object sender, EventArgs e)
        {
            Settings_Chooser c = new Settings_Chooser();

            c.Text = "Add Drive";

            if (c.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                fill_list();
            }
        }
Esempio n. 4
0
        private void button3_Click(object sender, EventArgs e)
        {
            if (lstv.SelectedItems.Count == 0)
            {
                return;
            }

            Settings_Chooser c = new Settings_Chooser(lstv.SelectedItems[0].Index);

            c.Text = "Update Drive";

            if (c.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                fill_list();
            }
        }