Пример #1
0
 public void ContextMenuOpening(Lib.Control Control)
 {
     Control.GetContextMenuItem<ToolStripTextBox>("Minimum Text Box").Text = Control.Settings["minimum"];
     Control.GetContextMenuItem<ToolStripTextBox>("Maximum Text Box").Text = Control.Settings["maximum"];
     Control.GetContextMenuItem<ToolStripTextBox>("Increment Text Box").Text = Control.Settings["increment"];
     Control.GetContextMenuItem<ToolStripTextBox>("Decimal Places Text Box").Text = Control.Settings["decimal_places"];
     Control.GetContextMenuItem<ToolStripTextBox>("Set Command Text Box").Text = Control.Settings["set_command"];
 }
Пример #2
0
 public void ContextMenuOpening(Lib.Control Control)
 {
     Control.GetContextMenuItem<ToolStripTextBox>("Get Command Text Box").Text = Control.Settings["get_command"];
 }