Form providing the validation of a Time Correction URL.
Inheritance: System.Windows.Forms.Form
示例#1
0
        private void ToolStripButtonAddTimeCorrection_Click(object sender, EventArgs e)
        {
            var FormTC = new FormTimeCorrection(_plugin);

            if (FormTC.ShowDialog() == DialogResult.OK)
            {
                ListViewTimeCorrectionList.Items.Add(FormTC.ComboBoxUrlTimeCorrection.Text, 0);
            }
        }
示例#2
0
 private void ToolStripButtonPropertiesTimeCorrection_Click(object sender, EventArgs e)
 {
     if (ListViewTimeCorrectionList.SelectedItems.Count == 1)
     {
         ListViewItem ThisItem = ListViewTimeCorrectionList.SelectedItems[0];
         var          FormTC   = new FormTimeCorrection(_plugin, ThisItem.Text);
         if (FormTC.ShowDialog() == DialogResult.OK)
         {
             ThisItem.SubItems[0].Text = FormTC.ComboBoxUrlTimeCorrection.Text;
             ThisItem.SubItems[1].Text = string.Empty;
             ThisItem.ImageIndex       = 0;
         }
     }
 }
示例#3
0
 private void ToolStripButtonPropertiesTimeCorrection_Click(object sender, EventArgs e)
 {
     if (ListViewTimeCorrectionList.SelectedItems.Count == 1)
     {
         ListViewItem ThisItem = ListViewTimeCorrectionList.SelectedItems[0];
         var FormTC = new FormTimeCorrection(_plugin, ThisItem.Text);
         if (FormTC.ShowDialog() == DialogResult.OK)
         {
             ThisItem.SubItems[0].Text = FormTC.ComboBoxUrlTimeCorrection.Text;
             ThisItem.SubItems[1].Text = string.Empty;
             ThisItem.ImageIndex = 0;
         }
     }
 }
示例#4
0
 private void ToolStripButtonAddTimeCorrection_Click(object sender, EventArgs e)
 {
     var FormTC = new FormTimeCorrection(_plugin);
     if (FormTC.ShowDialog() == DialogResult.OK)
     {
         ListViewTimeCorrectionList.Items.Add(FormTC.ComboBoxUrlTimeCorrection.Text, 0);
     }
 }