Definition at line 9 of file Plate.cs .
◆ PlateTool()
BioGTK.PlateTool.PlateTool
(
Builder builder ,
IntPtr handle )
protected
Definition at line 33 of file Plate.cs .
33 : base(handle)
34 {
35 _builder = builder;
36 builder.Autoconnect(this );
37 pictureBox.Drawn += PictureBox_Drawn;
38 pictureBox.ButtonPressEvent += PictureBox_ButtonPressEvent;
39 pictureBox.AddEvents((int )
40 (EventMask.ButtonPressMask
41 | EventMask.ButtonReleaseMask
42 | EventMask.KeyPressMask
43 | EventMask.PointerMotionMask | EventMask.ScrollMask));
44 App.ApplyStyles(this );
45 }
◆ Create()
Definition at line 25 of file Plate.cs .
26 {
27 Builder builder = new Builder(new FileStream(System.IO.Path.GetDirectoryName(Environment.ProcessPath) + "/" + "Glade/Plate.glade" , FileMode.Open));
28 PlateTool v = new PlateTool(builder, builder.GetObject("plate" ).Handle);
29 v.Show();
30 return v;
31 }
The documentation for this class was generated from the following file: