◆ PlateTool()
BioGTK.PlateTool.PlateTool |
( |
Builder |
builder, |
|
|
IntPtr |
handle |
|
) |
| |
|
inlineprotected |
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()
26 {
27 Builder builder = new Builder(new FileStream(System.IO.Path.GetDirectoryName(Environment.ProcessPath) + "/" + "Glade/Plate.glade", FileMode.Open));
29 v.Show();
30 return v;
31 }
The documentation for this class was generated from the following file: