Exemple #1
0
        private void btn_sample_drawing_data_Click(object sender, EventArgs e)
        {
            Button b = sender as Button;

            if (b.Name == btn_cancel.Name)
            {
                DrawingType = eHydroDrawing.Cancel;
            }

            else if (b.Name == btn_project_drawing.Name)
            {
                DrawingType = eHydroDrawing.ProjectDrawing;
            }

            else if (b.Name == btn_sample_drawing_data.Name)
            {
                DrawingType = eHydroDrawing.SampleDrawing;
            }

            this.Close();
        }
Exemple #2
0
 public frmOpenHydrologyDrawing()
 {
     InitializeComponent();
     DrawingType = eHydroDrawing.Cancel;
 }