示例#1
0
 private void _mainWidget_Destroyed(object sender, System.EventArgs e)
 {
     try
     {
         mainWidget.Destroyed       -= _mainWidget_Destroyed;
         helpBox.ButtonReleaseEvent -= Help_ButtonPressEvent;
         dataSourceDropDown.Dispose();
         xDropDown.Dispose();
         yDropDown.Dispose();
         x2DropDown.Dispose();
         y2DropDown.Dispose();
         seriesDropDown.Dispose();
         lineTypeDropDown.Dispose();
         markerTypeDropDown.Dispose();
         colourDropDown.Dispose();
         lineThicknessDropDown.Dispose();
         markerSizeDropDown.Dispose();
         checkBoxView1.Dispose();
         checkBoxView2.Dispose();
         checkBoxView3.Dispose();
         checkBoxView4.Dispose();
         checkBoxView5.Dispose();
         checkBoxView6.Dispose();
         graphView1.Dispose();
         editView1.Dispose();
         owner = null;
     }
     catch (Exception err)
     {
         ShowError(err);
     }
 }
示例#2
0
 private void _mainWidget_Destroyed(object sender, System.EventArgs e)
 {
     try
     {
         profileGrid.Dispose();
         profileGrid = null;
         properitesView.Dispose();
         properitesView = null;
         graph.Dispose();
         graph = null;
         mainWidget.Destroyed -= _mainWidget_Destroyed;
         owner = null;
     }
     catch (Exception err)
     {
         ShowError(err);
     }
 }
示例#3
0
 private void _mainWidget_Destroyed(object sender, EventArgs e)
 {
     try
     {
         entry1.Changed       -= OnTextBox1TextChanged;
         entry2.Changed       -= OnTextBox2TextChanged;
         radiobutton1.Toggled -= OnRadioButton1CheckedChanged;
         spinbutton1.Changed  -= OnNumericUpDown1ValueChanged;
         combobox1.Changed    -= OnComboBox1SelectedValueChanged;
         frameRadio1.Toggled  -= FrameRadio_Toggled;
         comboModel.Dispose();
         comboRender.Dispose();
         graphView1.Dispose();
         graphView1            = null;
         mainWidget.Destroyed -= _mainWidget_Destroyed;
         owner = null;
     }
     catch (Exception err)
     {
         ShowError(err);
     }
 }